package com.yidiandao.business.ui.adapter;

import android.content.Context;

import com.yidiandao.business.ui.widget.listview.CommonAdapter;
import com.yidiandao.business.ui.widget.listview.DisplayItemManager;
import com.yidiandao.business.ui.widget.listview.DisplayListItem;
import com.yidiandao.business.ui.widget.listview.displaylistitem.ChooseLocalPictureGridItem;

/** 获取本地图片展示的adapter */
public class ChooseLocalPictureGridAdapter extends CommonAdapter<DisplayListItem> {
    public ChooseLocalPictureGridAdapter(Context context) {
        super(context);
    }

    @Override
    protected void registerDisplayListItemMap() {
        DisplayItemManager.register(getAdapterTag(), ChooseLocalPictureGridItem.class);
    }

    @Override
    protected String getAdapterTag() {
        return ChooseLocalPictureGridAdapter.class.getSimpleName();
    }
}
